how to check if the value is alphabet only in c#

101

how to check if the value is alphabet only in c# -

Regex.IsMatch(input, @"^[a-zA-Z]+$");

Comments

Submit
0 Comments